<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
	<base href="<%=basePath%>">
	<title>hr-m-s</title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<link rel="stylesheet" type="text/css" href="css/style.css" >
</head>
<body>
<form id="salary_provide_confirm" name="salary_provide_confirm" method="post" action="salary!add">
  <table width="700" border="1" align="center" cellpadding="0" cellspacing="0">
    <tr>
      <th colspan="3" scope="col">薪资发放信息表</th>
    </tr>
    <tr>
      <td width="150">员工号<input type="hidden" name="staffID" id="staffID" value='<s:property value="salary.staffID"/>'/></td>
      <td width="350"><s:property value="salary.staffID"/></td>
      <td width="200">&nbsp;</td>
    </tr>
    <tr>
      <td>基本薪资<input type="hidden" name="basicCompensationAmount" id="basicCompensationAmount" value='<s:property value="salary.basicCompensationAmount"/>'/></td>
      <td><s:property value="salary.basicCompensationAmount"/>元</td>
      <td>&nbsp;部门-职位所属薪资</td>
    </tr>
    <tr>
      <td>调薪薪资<input type="hidden" name="additionalSalaryAmount" id="additionalSalaryAmount" value='<s:property value="salary.additionalSalaryAmount"/>'/></td>
      <td><s:property value="salary.additionalSalaryAmount"/>元</td>
      <td>&nbsp;调薪数据</td>
    </tr>
    <tr>
      <td>保险、公积金<input type="hidden" name="insuranceAmount" id="insuranceAmount" value='<s:property value="salary.insuranceAmount"/>'/></td>
      <td><s:property value="salary.insuranceAmount"/>元</td>
      <td>&nbsp;</td>
    </tr>
    <tr>
      <td>罚款<input type="hidden" name="forfeitAmount" id="forfeitAmount" value='<s:property value="salary.forfeitAmount"/>'/></td>
      <td><s:property value="salary.forfeitAmount"/>元</td>
      <td>&nbsp;</td>
    </tr>
    <tr>
      <td>奖金<input type="hidden" name="rewardAmount" id="rewardAmount" value='<s:property value="salary.rewardAmount"/>'/></td>
      <td><s:property value="salary.rewardAmount"/>元</td>
      <td>&nbsp;</td>
    </tr>
    <tr>
      <td>个人所得税<input type="hidden" name="taxAmount" id="taxAmount" value='<s:property value="salary.taxAmount"/>'/></td>
      <td><s:property value="salary.taxAmount"/>元</td>
      <td>&nbsp;</td>
    </tr>
    <tr>
      <td>实际发放<input type="hidden" name="remainSalary" id="remainSalary" value='<s:property value="salary.remainSalary"/>'/></td>
      <td><s:property value="salary.remainSalary"/>元</td>
      <td>&nbsp;</td>
    </tr>
    <tr>
      <td>发放所属月份<input type="hidden" name="salaryBelongDate" id="salaryBelongDate" value='<s:date name="salary.salaryBelongDate" format="yyyy-MM-dd"/>'/></td>
      <td><s:date name="salary.salaryBelongDate" format="yyyy-MM"/></td>
      <td>&nbsp;年-月</td>
    </tr>
    <tr>
      <td colspan="3">
        <input name="submit" type="submit" id="submit" value="发放" />
		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="javascript:history.go(-1);">返回上一页</a>
      </td>
    </tr>
  </table>
</form>
</body>
</html>
